package com.shopping.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shopping.model.ShopCar;
import com.shopping.response.ShopCarResp;

public interface ShopCarMapper {
    int deleteByPrimaryKey(Integer shopcid);

    int insert(ShopCar record);

    int insertSelective(ShopCar record);

    ShopCar selectByPrimaryKey(Integer shopcid);

    int updateByPrimaryKeySelective(ShopCar record);

    int updateByPrimaryKey(ShopCar record);
    
    List<ShopCar> select(ShopCar param);

	public int count(@Param(value = "delflag") String delflag);

	List<ShopCarResp> selectIncludcommodity(@Param("userid") Integer userid);

	public Integer countByUserid();
}